package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 组织班级成员添加DTO
 *
 * @author: yangyongchuan
 * @create: 2020年09月11日 18:00
 */
@ApiModel("组织班级成员添加DTO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassUserAddDTO implements BaseDTO {

	private static final long serialVersionUID = 5653912494224918450L;

	/**
	 * 班级ID
	 */
	@ApiModelProperty(value = "班级ID")
	@NotNull(message = "组织ID不能为空", groups = {Add.class})
	private Integer classId;


	/**
	 * 用户ID集合
	 */
	@ApiModelProperty(value = "用户ID集合")
	@NotNull(message = "用户ID集合不能为空", groups = {Add.class})
	private List<Integer> userIdList;

}
